package com.itheima;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

// @SpringBootApplication注解中包含@ComponentScan
// @ComponentScan: 组件扫描, 默认是到当前类所在的包和子包中扫描@Component, @Service @Repository, @Controller注解
@SpringBootApplication
@ServletComponentScan // 扫描Servlet/Filter
public class TlialManagementExamApplication {

    public static void main(String[] args) {
        SpringApplication.run(TlialManagementExamApplication.class, args);
    }

}
